package com.sharp.core.voxel;

import com.sharp.core.raytrace.Intersection;
import com.sharp.core.raytrace.ObjectHolder;


public class VoxelIntersection extends Intersection{

	private Voxel voxel;
	private Voxel.Side side;
	private float distance;
	
	public VoxelIntersection(ObjectHolder oh) {
		super(oh);
	}

	public Voxel getVoxel() {
		return voxel;
	}

	public void setVoxel(Voxel voxel) {
		this.voxel = voxel;
	}

	public Voxel.Side getSide() {
		return side;
	}

	public void setSide(Voxel.Side side) {
		this.side = side;
	}

	public float getDistance() {
		return distance;
	}

	public void setDistance(float distance) {
		this.distance = distance;
	}

	
}
